package com.tac.service.mes;

import com.github.pagehelper.PageInfo;
import com.tac.common.result.Result;
import com.tac.pojo.mes.PlannedProduction;
import com.tac.pojo.mes.PlannedProductionMaterial;

import java.util.Date;
import java.util.List;

public interface PlannedProductionService {


    //计划排产查询
    public Result<PageInfo<PlannedProduction>>  getList(Integer pageNum, Integer pageSize, String  serialNumber, String planNumber, Integer materialId, Integer bomId, Integer lineId, Integer technologyId,
                                                        Integer projectMaintenanceId, Date produceDateStart, Date produceDateEnd, Date deliveryDateStart, Date deliveryDateEnd, String status);
    //计划排产添加
    public Result save(PlannedProduction plannedProduction);
    //计划排产删除
    public Result remove(List<Integer> ids);
    //计划排产更新
    public Result update(PlannedProduction plannedProduction);



    //计划排产物料添加
    public Result save2(PlannedProductionMaterial plannedProductionMaterial);

    //计划排产物料删除
    public Result remove2(List<Integer> ids);
    //计划排产物料更新
    public Result update2(PlannedProductionMaterial plannedProductionMaterial);
}
